package nc.ui.arap.billspilt;

import nc.cmp.pub.cache.FiPubDataCache;
import nc.ui.pub.ClientEnvironment;

public class SplitModeUtil {
	
	public static String convertdjlxbm(String billtype) {
		String djdl = FiPubDataCache.getBillType(billtype, 
				ClientEnvironment.getInstance().getCorporation().getPk_corp()).getDjdl();
		String bm = null;
		if ("ys".equals(djdl)) {
			bm = "D0";
		} else if ("sk".equals(djdl)) {
			bm = "D1";
		} else if ("yf".equals(djdl)) {
			bm = "D2";
		} else if ("fk".equals(djdl)) {
			bm = "D3";
		}
		return bm;
	}

}
